package cc.greencat.gcmall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.io.Serializable;
import java.util.Date;

/**
 * 属性分组
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-23 21:48:20
 */
@TableName("product_attr_group")
public class AttrGroupEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 分组id
	 */
    @TableId
    private Long attrGroupId;
	/**
	 * 组名
	 */
    private String attrGroupName;
	/**
	 * 排序
	 */
    private Integer sort;
	/**
	 * 描述
	 */
    private String description;
	/**
	 * 组图标
	 */
    private String icon;
	/**
	 * 所属分类id
	 */
    private Long categoryId;

	/**
	 * set 分组id
	 */
    public void setAttrGroupId(Long attrGroupId){
        this.attrGroupId = attrGroupId;
    }
    /**
	 * get 分组id
	 */
    public Long getAttrGroupId(){
        return this.attrGroupId;
    }
	/**
	 * set 组名
	 */
    public void setAttrGroupName(String attrGroupName){
        this.attrGroupName = attrGroupName;
    }
    /**
	 * get 组名
	 */
    public String getAttrGroupName(){
        return this.attrGroupName;
    }
	/**
	 * set 排序
	 */
    public void setSort(Integer sort){
        this.sort = sort;
    }
    /**
	 * get 排序
	 */
    public Integer getSort(){
        return this.sort;
    }
	/**
	 * set 描述
	 */
    public void setDescription(String description){
        this.description = description;
    }
    /**
	 * get 描述
	 */
    public String getDescription(){
        return this.description;
    }
	/**
	 * set 组图标
	 */
    public void setIcon(String icon){
        this.icon = icon;
    }
    /**
	 * get 组图标
	 */
    public String getIcon(){
        return this.icon;
    }
	/**
	 * set 所属分类id
	 */
    public void setCategoryId(Long categoryId){
        this.categoryId = categoryId;
    }
    /**
	 * get 所属分类id
	 */
    public Long getCategoryId(){
        return this.categoryId;
    }

}
